]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
shell-gtk-embed: Lower tray icon windows to the bottom of the stack
authorAdel Gadllah <adel.gadllah@gmail.com>
Wed, 29 May 2013 22:53:37 +0000 (00:53 +0200)
committerAdel Gadllah <adel.gadllah@gmail.com>
Wed, 29 May 2013 22:57:37 +0000 (00:57 +0200)
Otherwise they break the "top level window" detection used by the
unredirect code in mutter, causes game windows not to be unredirected
when tray icons are present.

https://bugzilla.gnome.org/show_bug.cgi?id=701224

src/shell-gtk-embed.c

index 045435eebc9f9b893d87de9ca444bb658cde7e8b..bfff044ffcf36c340ba38c55789f1419bf3dd783 100644 (file)
@@ -106,6 +106,8 @@ shell_gtk_embed_window_created_cb (MetaDisplay   *display,
                                              0, 0 /* offset x/y */);
       cairo_region_destroy (empty_region);
 
+      gdk_window_lower (gdk_window);
+
       /* Now that we've found the window we don't need to listen for
          new windows anymore */
       g_signal_handler_disconnect (display,